<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"></meta>
<meta content="IE=edge" http-equiv="X-UA-Compatible"></meta>
<meta content="width=device-width, initial-scale=1" name="viewport"></meta>
<title></title>
<link rel="stylesheet" href="resources/bootstrap/css/bootstrap.css"></link>
<link rel="stylesheet" href="resources/bootstrap/custom/signin.css"></link>
<script src="resources/angular/angular.js"></script>
</head>
<body>
	<div th:fragment="header">
		<div class="container">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div id="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse"
					data-target="#bs-example-navbar-collapse-1">
					<span class="sr-only">Toggle navigation</span> <span
						class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="#">Evane Shop</a>
			</div>

			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse">

				<!-- navbar-right -->
				<div id="top-header">
					<ul class="nav navbar-nav pull-right">
						<li th:if="${#authorization.expression('!isAuthenticated()')}"><a
							href="login"><span th:text="#{constant.header.label.login}">Login</span></a>
						</li>
						<li th:if="${#authorization.expression('isAuthenticated()')}">
							<a href="logout"><span
								th:text="#{constant.header.label.logout}">Logout</span></a>
						</li>
						<li th:if="${#authorization.expression('!isAuthenticated()')}">
							<a href="@{#{get.register.url}}"><span
								th:text="#{constant.header.label.register}">Register</span></a>
						</li>
						<li th:if="${#authorization.expression('isAuthenticated()')}">
							<a href="@{#{get.basket.urlurl}}"><span
								th:text="#{constant.header.label.basket}">Basket</span></a>
						</li>
					</ul>
					<!--form search-->
					<form class="navbar-form navbar-right" role="search">
						<div class="form-group">
							<input type="text" class="form-control" placeholder="Search"></input>
						</div>
					</form>
					<!--end form search-->
				</div>

				<!-- end navbar-right -->
			</div>
			<!-- /.navbar-collapse -->
		</div>
	</div>
</body>
</html>
